/* 只读表单样式 */

.wea-field-readonly {
    display: inline-block;
    border: none !important;
}

.wea-field-readonly.underline {
    border-bottom: 1px solid #ddd !important;
    min-height: 32px;
    width: 100%;
}

.wea-field-readonly.border {
    min-height: 32px;
    padding-left: 8px;
    width: 100%;
    color: #000;
    background-color: #F8F8F8;
    border: 1px solid #F2F2F2 !important;
    cursor: not-allowed;
}

.wea-field-readonly.underline .child-item{
    vertical-align: baseline;
}

.wea-field-readonly.border .child-item {
    margin-top: 7px;
}

.wea-field-readonly .child-item {
    display: inline-block;
    line-height: normal;
    margin-right: 5px;
    vertical-align: top;
}

.wea-field-readonly .child-item:last-child {
    margin-right: 0;
}

/* common css*/

.cursor-pointer {
    cursor: pointer;
}

.wdb {
    word-break: break-all;
    word-wrap: break-word;
}

.asterisk {
    margin-right: 12px !important;
}

.asterisk:after {
    content: "*";
    top: 0;
    position: absolute;
    font-size: 14px;
    color: transparent;
    background-image: url('/images/BacoError_wev9.png');
    background-repeat: no-repeat;
    background-position-y: center;
    right: -10px;
    height: 100%;
    text-decoration: none !important;
    border-bottom: none !important;
}

.required:after {
    content: "*";
    top: 0;
    position: absolute;
    font-size: 14px;
    color: transparent;
    background-image: url('/images/BacoError_wev9.png');
    background-repeat: no-repeat;
    background-position-y: center;
    right: -10px;
    height: 100%;
    text-decoration: none !important;
    border-bottom: none !important;
}


.wea-required-e9 {
    display: inline-block;
    height: 100%;
    width: 11px;
    position: relative;
}

.wea-required-e9 img {
    position: absolute;
    top: 50%;
    margin-top: -3px;
    padding-left: 3px;
}

.mr15 {
    margin-right: 15px;
}

.mr12 {
    margin-right: 12px;
}

/* form css*/
.ant-form-item-label {
    text-align: left !important;
    padding-left: 30px !important;
}

.prel {
    position: relative;
}

/*table 表头去掉滚动条*/
/*
有bug 先去掉
.table-header-noscroll .ant-table-header {
    min-height: 61.6px;
    overflow: initial !important;
}*/

.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/*select dropdown 截取显示...*/
.ant-select-dropdown-menu .ant-select-dropdown-menu-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ant-modal-title {
    cursor: move;
}

.wea-browser-modal .ant-tree li a.ant-tree-node-selected {
    background-color: #fff !important;
}

.wea-browser-modal .ant-tree li a:hover {
    background-color: #fff !important;
}

.wea-browser-modal .ant-tree-checkbox-disabled {
    display: none;
}

.wea-browser-modal .ant-spin-nested-loading .empty-tip {
    display: none;
}

.wea-browser-modal .ant-spin-nested-loading .ant-table-placeholder {
    display: none;
}


/*数字输入框border-radios */
.ant-input-number{
    border-radius: 0!important;
}
.ml5{
    margin-left:5px;
}
.ml10 {
    margin-left:10px;
}
.ml20 {
    margin-left:20px;
}
.mr3 {
    margin-right:3px;
}
.mr5 {
    margin-right:5px;
}
.h100{
    height: 100%;
}
.mt10 {
    margin-top: 10px;
}
.mb10 {
    margin-bottom: 10px;
}
.pt20 {
    padding-top:20px;
}
.align-center{
    text-align: center;
}
.top40 {
    width:100%;
    top:40%;
    position:absolute;
}
.text-elli {
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    -o-text-overflow:ellipsis;
    -moz-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}
.f14 {
    font-size: 14px;
}
.f12 {
    font-size: 12px;
}
.color-black {
    color: #000;
}

.wea-mask {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 999;
}

.wea-mask-dark {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #787878;
    filter:alpha(opacity=40);
    -moz-opacity: .4;
    -khtml-opacity: .4;
    opacity: .4;
    z-index: 999;
}

.wea-show {
    display: block;
}

.wea-hide {
    display: none;
}